/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2023. All rights reserved.
 */

package model

import "time"

/*
 * UserId 用户ID
 * OnePayOrderUpdateTime 资源表对应用户上次拉取包周期订单
 * OnDemandResourceUpdateTime 上次拉取按需资源的时间--即按需订单
 */

type OrderUpdateRecord struct {
	IndexId                    int       `orm:"column(index_id);type(int);auto;index"`
	UserId                     string    `orm:"column(user_id);size(64);"`
	OnePayOrderUpdateTime      time.Time `orm:"column(one_pay_update_time);type(datetime)"`
	OnDemandResourceUpdateTime time.Time `orm:"column(on_demand_update_time);type(datetime)"`
}
